package com.kgc.scd.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.lang.reflect.Type;

/**
 * Created On : 2022/3/31.
 * <p>
 * Author : zhukang
 * <p>
 * Description: 敏感词
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "敏感词")
public class SensitiveWord {

    // 编号
    @ApiModelProperty(value = "敏感词编号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    // 类型
    @ApiModelProperty(value = "敏感词类型id")
    private String tid;

    // 敏感词
    @ApiModelProperty(value = "敏感词")
    private String word;
}
